reimplement test groups. cli add list-groups .