Doing tests using both batching and new scheduling. Does not terminate.