added testcase for ticket 534