integration test for compression