add functional test.