working test cases for compression and splitting