folded beforemethod in functional tests in try/catch block