Assertion helper for object comparison.
Test for object operations.