Added specs for search input clearing