Added tests for compressing and uncompressing files with permissions