Fix cli entrypoint
Add decryption test