test case for bug #29 added