yii testing Repository