Migrated test framework to Mocha.

Hey, I know I'm sending a pull request into your fork but it seems like you've basically taken this thing over. 

Might be worth asking nateps or npm to transfer ownership since it hasn't been updated in 3 years?