Fix tests for the PHP 5.3