Fix phpunit setup

Normally phpunit.xml belongs in the project root, where the tests are typically run from. Settings that are provided to the test are typically specified in phpunit.xml. phpunit.xml.dist is typically the default settings, users then copy that to phpunit.xml to put their local settings. Using environment variables also has the benefit that your configuration settings get passed to all child processes :ghost: