Add tests for map loading