Test.asの
heavyArray[0] = null;
って、もしかして
heavyArray[heavyArray.length - 1] = null;
のつもり?