add tagged node test data and adjust tests, update clickSearchResult
function to take string