add testcase for ticket 2918