TestSessionDatabaseState for shared state between processes