testing async node functions with mocha and jasmine presented June 10th 2014