added looping depths to pointArray test