Fix argument comparison in unit tests.

`assert.deepEqual` does not work on comparing Array's to pseudo arrays like `arguments`.