raft: use different compactThreshold for tests

This speeds up the test considerably (3.5s -> 1.5s), and I don't see a strong reason that it needs to be such a high figure in the tests
The way these tests are set up it's incredibly awkward to change it. I don't want to add an injectable to `newNetwork`. Any suggestions for what you'd like to see?