Fix groups(), add test, update version