tests for serializers