Fix a test when the journal is disabled.