test(frontend): upgrade mocha for promise support and fix async tests
Merge pull request #766 from mozilla/issue-687-done-callback

test(frontend): upgrade mocha for promise support and fix async tests