Replace require_once with require to fix the problem with PHPUnit. This problem happens because PHPUnit needs and requires the Composer's autoload file and PHP doesn't call the file and then no value is returned, thus it fails because we cannot get the ClassLoader object to add the test path into the autoload.