Removes dtype from cube_to_image summing case, introduces make_uniform_image to produce an image of ones (required in the test case) and introduces a test case for cube_to_image