Add a test for unencrypted alert