Actually run some tests

Some tests were initialised wrong and therefore not run when doing `node test.js`.
Merge pull request #13 from rvagg/fix-tests

Actually run some tests