Add basic unit tests for EncryptedDatabase