Fix test on PHP 5.6