use assert.deepEqual where possible