request.setBbox(new Bbox(-3211986.0066263545, 98246.25012821658, 1.065471024672729E7, 3365675.229452881));
request.setCrs("EPSG:900913");
request.setLayerIds(new String[] {layer});
request.setLocation(new Coordinate(672238.022713162, 2554015.0948743597));
request.setScale(1.022083167709322E-4);
CommandResponse response = dispatcher.execute(SearchByPointRequest.COMMAND, request, null, "en");
Assert.assertFalse(response.isError());
Assert.assertTrue(response instanceof SearchByPointResponse);
SearchByPointResponse sbp = (SearchByPointResponse) response;
Map<String, List<Feature>> map = sbp.getFeatureMap();
Assert.assertNotNull(map);
List<Feature> features = map.get(layer);