Enable `npm test` for nodeunit.
Revitalize test cases.
Merge pull request #109 from jagoda/fix-test-cases

Fix test cases