Added Test of autocomplete
Added changes for autocomplete