Raster Serialization function test