Removed newer PHP versions from unit tests
More PHP 5.2 fixes