LayerRepository tests