updates test for error message in chrome & ie

The error thrown has a little bit different message in IE and Google
Chrome. This updates the test to reflect that.