makeing serializers idempotent, adding a ut for the same