Unit tests for the serializers