Rewrite ButtonGroup
Add test for radio button groups