updated error handling on all mocha tests

- switch to using catch
- added error handling where missing