added tests for resizing the map