Testcase for issue #NNN

(TODO: optionally add a short description here...)