Test cases for basic table caption grouping