Tests for decryptor