Added QUnit test for contains