Basic unit tests.