add functional test for list type