Tests for compression