Some unit tests.
More tests.