Use promise support in mocha.

Change-Id: I588f591a9d20cb61fd90b4e5c0d56944973747b7
Use `Promise.guard` from `prfun`.

Change-Id: I1fd92004a81a1cc27c19cb5f0a5e41d32c5503be