def METHOD_NAME(self):
    for _ in range(10):
        v = get_random_object()
        s = io.BytesIO()
        tnetstring.dump(v, s)
        s.write(b"OK")
        s.seek(0)
        self.assertEqual(v, tnetstring.load(s))
        self.assertEqual(b"OK", s.read())