Add license and phpunit to composer.json
Add a test