Add error object tests to `_.isEqual`.