added autocomplete and event tests