RM8894

Adds a quota for the number of security groups allowed per port.
I think you're right. The whole lot of these tests needs to be redone, and I don't have the time to do it at the moment. Fixed it to just groups and repushing