I wonder if it wouldn't make more sense to combine the two tests, i.e. `testSerialization` At the end of the day we are testing that after serializing object a to a variable, then deserializing that variable, that the new object is in an expected state.

The main problem with having the serialization string here is that every time we modify the `ClassMetadata` class these tests will break.