added test for type serializers
added test for type serializers