Refactor tests to use tape
Add 'directories' to package.json