Add more serialization tests.