Fix batch runner tests.