Rename EncryptedDatabase to TSEncryptedDatabase
Some more tests