'``SerializableArgument`` can round-trip a ``NodeState`` instance.'

def test_nodestate(self):

    argument = SerializableArgument(NodeState)
    as_bytes = argument.toString(NODE_STATE)
    deserialized = argument.fromString(as_bytes)
    self.assertEqual([bytes, NODE_STATE], [type(as_bytes), deserialized])
