test varaity of groups