why use realpath, it will evaluate to false if path does not exists. also can be simplified to:

```php
Yii::setAlias('@tests', '@app/tests');
```