serializer tests bugfix