Yii framework for testing