Add tests for group attachments