improve replacing behaviour (also replace super calls at end of
setUp/tearDown)