fix layergroups tests