mock for map in layer chooser test

whoops test failed