Putting this in the shared test file makes sense. I use it in a few places, but with slightly different constructs depending on the type of object (e.g., I skip the `password` property for Users.)

Underscore also has the [`_.isEqual()`](http://underscorejs.org/#isEqual) function, which I've never used - I'll take a look at it.