Testing multithreaded read-write access to SQLite from Qt