test equivilence of warp_to_mask warp_to_shape,