move and extend error raising when determining serializers
bugfix. tests adjusted