Add tests

Closes #2
Add "directories" to `package.json`
Add `npm test` script
Fix response not being a reply

Fixes #3