Fix content serialization unit test.