Update licence and add phpunit to required package.