fixed test for LayerStore