Ref 2dca62f5: More robust test for jQuery QUnit suite