Tests access to user autocompletion and verify the correct results.
function testUserAutocomplete() {
$this
->drupalLogin($this->account);
$this
->drupalGet('user/autocomplete', array(
'query' => array(
'q' => $this->account->name,
),
));
$this
->assertRaw($this->account->name);
$this
->assertNoText('registry initialized', 'The registry was not initialized');
}