added testcase for ticket 3035