tested custom attribute setters in serializer