Fixed failing batch runner tests under osx