Use phpunit to get exit code