gzip the manifest and add unit test.