Add tests for much of the groups behavior.