TEST: added test for imwarp.get_direction_and_spacings