Can you write `self.assertEqual(str(motion), 'foo')  # motion.__unicode__() did raise an AttributeError before`?