Add test serializers

Imported from Geotrek