I realize that doing it another way breaks your tests, but if the idea is that the variable is supposed to be constant, I feel weird intentionally making it variable for the sake of testing.

Is there a way you could set up the tests such that you don't have to change the swarm size, or perhaps make the test pass on a full sized swarm?