Split composer validate and phpunit into separate scripts