Refactored to support line format test as well, now performs roundtrip and raw data test
Removed unused function
Merge pull request #793 from cmouse/dnsrecords-test-suite-2

Line format test addition (thanks aki!)