Reflection and serialization tests.