def fullCycle(self, x, compress=False):
b = self.serialize(x, compress)<EOL>x2 = self.deserialize(b, compress)<EOL>self.assertEqual(x, x2)<EOL>
Tests de/serialization by running full cycle and comparing the result 
to the original element.