Some cleanups while trying to figure out why those tests are flacky in CI (but I wasn't ever able to get a failure locally).
We have meson nowadays, so tests are timing out by default and test timeout may vary depending on the meson test parameters or test setups.
So don't hardcode it using alarm().