while test case