Made test for question on yiiframework