Add tests for layersconfig service