Added QUnit flag to error reporting