Added tests

Addresses #30
the `mocha` dependency is missing