[3.9] Fix phpunit test suite