Add delay to func test case