Added MAP_DEBUG_TEST