tests around commitJournal