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
i think it may be too generic to set compactThreshold here instead of setting in `TestSlowNodeRestore`.