Improved ButtonGroup tests.