PHP5.4 & 5.3 phpunit bugfixes