@Test
public void corrupted() throws IOException {

    assertEquals(1, parse("millis,sensor,lat,lon,alt\n1,gps,2,3,4\n5,").size());
    assertEquals(1, parse("millis,sensor,lat,lon,alt\n1,gps,2,3,NOPE").size());
    assertEquals(0, parse("millis,sensor,lat,lon,alt\n1,gps,2,NOPE").size());
    assertEquals(0, parse("time,lat,lon,alt\nNOPE,2,3,4").size());
}