EZP-23432: added a unit test for the case where the publish draft creates the content