TST/BUG: Fix grouped_box_return_type
Merge pull request #7260 from sinhrks/boxdict

TST/BUG: Fix grouped_box_return_type