Fix groups type in test