Simple functional test.