Fix an issue where the unit test fails on PHP 5.3