tests: Plug all memory leaks in the solver suite
tests: Plug all memory leaks in the solver suite

This makes it easier to track down memory leaks in the solver with
Valgrind.

ebassi/emeus,ebassi/emeus,ebassi/emeus