Correcting tests

Corrected the tests according to the new implementation of the compression algorithm