fix a few deprecation warnings in the semi-implicit code and fix failed tests on heuristix