Fixed: several assert issues due to different test fixtures.
Merge branch 'sql-ng' of github.com:ezsystems/ezpublish-kernel into sql-ng