added yii console command to tests

Related with this comment - https://github.com/yiisoft/yii2/pull/2371#issuecomment-34555143.