make $jobNames param an array, fix all unti tests, add one unit test to test against invalid param; put {} around argument in output string