config the map doc and test it