@Test
public void testWithSkipTrailingCharsUntilNewline() throws Exception {

  Table table =
      Table.read()
          .usingOptions(
              FixedWidthReadOptions.builder("../data/fixed_width_wrong_line_length.txt")
                  .header(true)
                  .columnTypes(car_types)
                  .columnSpecs(car_fields_specs)
                  .padding('_')
                  .systemLineEnding()
                  .skipTrailingCharsUntilNewline(true)
                  .build());
  String[] expected = new String[]{"Year", "Make", "Model", "Description", "Price"};
  assertArrayEquals(expected, table.columnNames().toArray());
  table = table.sortDescendingOn("Year");
  table.removeColumns("Price");
  expected = new String[]{"Year", "Make", "Model", "Description"};
  assertArrayEquals(expected, table.columnNames().toArray());
}