rewrote tests to use mocha
fixed some lint errors, added bob support