Add another test. Use deepEqual instead of comparing the output of JSON.stringify