test('should throw and resume when an error is passed', function () {
  var error

  return co(function * () {
    try {