More complex assertions for QUnit