Register the global filter in ContextTest.