Writing SerializationService tests.