Move _optionsToSpawnFormat inside getCommandArgs. Reuse taskArgs in test/exec. Tweak name of test case in test/pulsar.