Clean up test serialization