Add raster constructor tests, add async test helper function and test image.