Fixed nodeunit test output problem.
Added exec() wrapper function for shelljs.exec() to so we catch all execution errors.