Add some tests.
Introduce assert library.