Correctly load composer packages, and check for phpunit in a better way.