fix test case with Optional handling in createSolverByName().

2 jobs for master in 16 minutes and 40 seconds (queued for 8 seconds)