add phpunit to dev-requirements

Changed require_once call to require; since phpunit autoloads composer, the require_once call was returning `true` as in _this file has already been required_.
no need to say to run ``composer dumpautoload``. The composer installation will already run it