fixed phpunit bug