Changed testing to use Test'em, Mocha, and Chai.
Changed api from `cb(data, err)` to `cb(err, data)`.