cf-dc-api.pl: add validation selftest that tests a strict array