update tests with done(), someone (kenta!) forgot about it

 - add jshint
 - fix missing requires
 - move away from kindOf()