phpunit updated for command-line tests