Use header checking files to uncompress, add tests.