Some patch for phpunit