Add ArrayField functional test