Fix groups() method
Test groups(), update version