move tests to serializers package