A first attempt at a functional test.