testing the autocomplete component inside integration test