Remove unnecessary loop from SolverTest unit test.

I can't see a good reason for this loop to be here. The unit test still passes with this commit applied.