added tests for raster with data