For tests, self.assertEqual(obj1, obj2) gives better output than the built-in assert.