Fixed tests.
Added composer requirements.