fix AutocompleteHelperTest and GitHelperTest