Add tests for another application writing the database while an ota update is ongoing.
Test that sqlite3ota_open() works with URI paths. Fix some other issues.