Test writeValue
Test writeValueWithoutResponse