Remove use of deperecated QUnit.raises function
Merge pull request #1828 from megawac/qunit-testing

Remove use of deperecated QUnit.raises function