adds unit tests for the search dropdown template