Handle setup and teardown functions given to the suite function.
Extend the current test context with the given environment.