New unit tests also uncovered a bug where the number of trackpoints reported in a file was twice the actual number.