def test_complete(self):
        """
        Test serialization of a screwdriver.
        """
        screwdriver = Screwdriver("philips", "m3")
        state = screwdriver.toState()
        self.assertEqual(state, {"head": "philips", "size": "m3"})