Quick and dirty unit tests.