add tests for compress/decompress