Symmetric encryption unit tests.