Updated button group test and sample.