Adds functional test for exit code validation of WrapperRunner