Fix [JACKSON-834]; add unit test for [JACKSON-831]

3 files changed