super refactor and add tests for FeedElementSearchView