ensure status code is returned from testing scripts

@ncdc review please.  I'm wondering if we want to actually move this exception catching logic all the way up into command_helper#do_execute().  The current behavior seems ugly.