Add `testutils.WaitForLeader` and truly wait