unit test for map module -in progress