update tests for new array shape convention, fix inconsistency in tif dimensions