pkg/search: Make backend test deterministic
Created by: keegancsmith
Got this unrelated coverage change on another PR:
Part of https://github.com/sourcegraph/sourcegraph/issues/2314
Created by: keegancsmith
Got this unrelated coverage change on another PR:
Part of https://github.com/sourcegraph/sourcegraph/issues/2314