Fixes in a test.
Introduce loop solver adapt test.