added docstrings to map_tests.py