Add error computation step after optimization as error computation has been dropped from optimization method.
Adapt test scripts to new interfaces