Added test for compression