Updates the tests to work with PHP 5.3