sleep test case