Add tests.
Update composer.json with dev and install dependencies.
Add parameter checks to constructors of services.