MDL-42278 behat: block context can be returned to original state

Automate MDLQA-1547 - The context of a block can always be returned to it's original state.