RF-13184: fixed unit tests for Autocomplete (second round)