Preliminary support for unit tests.
Add a simple unit test.