This currently seems to test that you can create max_groups, not that you cannot go over max_groups.

However, I think @wirehead and I had discussed making this a soft max, since strictly enforcing the max will require locks and may cause some more consistency issues :|