added unit/functional tests for search autocomplete