add tests for map and matrix visualizations