Set correct solver_mode in SolverTest so Travis build doesn't randomly
fail.