for those tests we are using total_groups which is a list of groups just before list groups is called with the limit.