fix rakefile and add missing dependencies
remove loadpath additions and use new way to require mocha
fix tests