Add tests for map_case and exp_im_path