replaced underscore with lodash
sanity check and using when async helpers
fixed mocha reporter tests