Update composer.
Implement some tests for Kernel.