extended testcase for ticket 3011