Added a test for the Serializer