Some basic unit tests.