Make qunit task fail when no assertions are logged

Haven't tested this change yet, as there's no way to test. `npm test` doesn't work, as there's no targets defined for `grunt test`.