Please extract a helper method for L99-L106, possibly including L93.

Examples:
```js:
helpers.givenAPublishedPackage(function(err, pkg) {
  // test code goes here
});

// alternative
var pkg = helpers.givenAPackage();
helpers.publish(pkg, function(err) {
    // test code goes here
});
```

Use the new test helper in the test above (`searches for a package that is already published`) too.