Added exit code to reflect test status