add rest testcase for group