Testcase for #27