Apply #797 to new image operations
Added run tests for image operations