tests for group deletion