Add tests

- Added tests for cases that weren’t covered
- Added jshint inline comments for exceptions
- Added a command for executing tests without posting results to coveralls
- Updated dependencies