add a defbefore and defafter function to get functions executed respectively before and after scenarios execution