Tests console message when script is loaded with incorrect text/html mime type and the URL contains the '^' character.