[MAINT] Add unit test for image warp.

As the title says.