Add tests for JournalManager