Actually encrypt data

hwhoops, turns out we weren't actually calling the encryption / decryption methods in the new SQLite3. We fix some unrelated tests here too