it('rejects if result is not a promise', done => {
    let c = {
      foo() {
        return 'foobar';
      },