replace nodeunit to mocha and cleanup!