Fix tests after https://github.com/ezsystems/ezpublish-kernel/commit/8c4499899f996ba651050b230b83b570088fbafe