tests for autocomplete

I hope this doesn't change any other files...