Testcase for bug verification

Add test for bug verification