tests with serializer provider