Add test for _encryptText