Tests for map builder.