TypeSerializer, first tests