Duplication tests in text file parser

Tests for having too many of a line type that should only be present
once

Tests for having duplicate raw_data entries