Add test for table flush