JTest updates

test for zero length arrays
fix 2d array test