This is the test where `waitIndex=5` and we retrieve an `index=4`. This doesn't seem right to me but here's a starting point if you want to test it out.