when running test case process can exit