add assert method to GroupHelper