spysetPageHeader changed to spySetTitle for testing searchResult function