autocomplete test is added. Tests are modified to work without Go button & input field inside pre