Some simple tests for jobscript generator in slurm. Fixes to JavaJobDescription tests