Test searchResult function more specific