Tests for AutoCompletionResult