Fix tests for new PHP 5.5 version.