Add test for deep map