mocking layer state in layer store tests