Fix testing to regular file.
xml_parser: Add generic parser.
tests: More tests for compression wrapper.