[test] Add tests (per #14)

- Added tests for both the server and proxy logic
- Added script for generating code coverage
- Added mocha@1.18.2 as a dev dependency