Test swapping the layer for a different one