Added some basic test subprocess exception handling and remapped error messages to the e-mail