it('rejects if operation resolves to non-object', done => {
    let c = {
      foo() {
        return 'bar';
      }