Added groupleave + tests, improved groupjoin tests