Added a test for the map class.

Implemented a test for map rendering.