Dynamic array test