Add unit tests for the encryption module.