Refactor PHPUnit_Util_PHP
Make exception message consistent