Run before and after hooks for suites and cases