Fixed a failing test on PHP 5.4