adding tests for object diffs and errors