Added test for table row merge