Update tests for modern phpunit