Install PHPUnit if not installed; improve Bash readability