fixed unit test for sqlite
some more on active record unit tests and sqlite

sqlite does not seem to allow using boolean values in select query
Fixes #1116.
Merge branch 'master' of github.com:yiisoft/yii2