Adding serializer tests