Added unit tests for serializers