Fixed testResize1 in testArray.py, Array2.h and Array.i

Just a small fix while I figure out how to add tests for the new typemaps.