Fix issue when running all tests would return immediately.