search-bar directive unit test