Add newline at end of composer.json
Add tests