Add test case for unexpected input before the outer table