Added sleep statement to search test to make it pass when run under Selenium.