Fix raises assertion. In QUnit, raises can be used to match the error message (and not the error type).