Fix serializer test