tests for autocomplete fixed