Adding tests for groups and messages.