Improve enum test to ensure it is an array not just declared in the
validation rule.