Context unit tests don't require a search now

The context unit tests previously required a search to be running in
the browser, this has been elimnated by creating a search job before
it's required, then cancelled after it's no longer required.