Add a testcase and changelog entry for #4975
2 files changed