Unit tests for equal
Pass the object last-failed into the failure block