Added test for different compression types.