On Ubuntu's test infrastructure for the development series, this test often fails when piping the journal output to head. The cause is unclear, but possibly related to Ubuntu's use of uutils coreutils. Workaround this by just using journalctl's -n flag, which removes the need for piping output to head.