Updated functional test.