Made autocomplete testable
Added legacy and ugc tests