Add basic functional testing.