Improved test of makeDynArray