adding encrypter tests