fix UnitOfWork test for PHP 5.5