I decided that this is acceptable for the purposes of testing that regularly gridded data is exported correctly.  Here the top and bottom rows are not regular and the user would have to adjust their data appropriately if they wished to include this data in a raster image.