testing for search location