updated insert of todos in dbRefreshTables to insert todo_id
and updated test case to stay in synch