Added unit tests
Fixed typos in composer.json