Adding tests
Merge pull request #13 from diurnalist/feature/mocha-tests

Adding tests