replaced assert.equal by deepEqual in qunit tests.