Merge pull request #12 from alexeyvo/compress_encrypt

Fix tests and warnings
Fix warning