Also, you can use in tests:
```php
global $user;
$handler->setAccount(user_load($user->uid));
```