Some useful extensions for phpunit.