Changed SolverContext type such that the code is pure in tests
Merge pull request #60 from ddrone/solver-pure

Changed SolverContext type such that the code is pure in tests