The tests here run a series of commands on the vault client, without waiting in between. This is usually fine, but with the raft backend, there can be delays between initialising, unsealing, and the raft cluster settling. During this time, most vault commands will return errors.