promises are tested with mocha-given