Improve test for JobLauncherCommandLineRunner (see gh-1125)