object compare for result tests