add testcase for ticket 3010