Test num_item_group on the testing beach.