tests on dynarrays