The nearlyEquals function now pretty-prints the object being tested and indicates where it differs from the expected result