Make fetching search results constant again.

Remove accidental commit of test code.