Fix group test bug