adding unit test for serializer package