Remove unneeded dependencies & misc. fixes.

mocha, coffee-script, and assert were listed as runtime dependencies but they should be development dependencies. This PR also cleans up the npm test script and makes the tests pass.