just an FYI.  You can do assert.deepEqual({ test: 1, test2: 2 }, { test: 1, test2: 2 }) instead of JSON.stringify