Map manager update.

Add a test file for the map manager.