Add a unit test to verify handling of `@JsonValue`