Test the symmetric encryption doc snippets using doctest