added exitcode variable to jtest for travis sake