Fixing tests that were not working.

expect.js throwError and throwException do not accept an string as a parameter, so the exception message was not being asserted.