Testcase for recently fixed bug