Changed deepEqual to equal