Port this test except it doesn't work because of plaintext and ciphertext naming, need to make that flexible