added compulsory reset() for blocks
added more checks about whether reset() is called.
towards-coverage
dderivative works
fixes