use deepEqual when asserting for objects