code for Yii test