fixed LayerGroup Encoder tests

Hi,
I've fixed latest tests to work against an empty GeoServer instance.