fixed the script manage subjobs differently for CRAB3
adapted test generation to CRAB3 ganga plugin