Tests of basic functionality.