pushing search test code since can't search from localhost