better testing: time()-function-mock

as discussed in #203
https://github.com/yiisoft/yii2/issues/203#issuecomment-17759631