exit process when test is done