def test_class(): instance = next(Image.new()) new = Image(instance.id) assert new.good() assert new == instance