Add test for map context roundtrip.