Added test for converting 1d arrays to 2d arrays