If you intend to use salting for the encrypted text, you may want to create an explicit test for it: encrypt the same text twice and ensure that both types you get a different encrypted data. This also means that the encrypted data should be different enough, e.g. not only differ in the last 20 bytes with all the rest being exactly the same.