test the context handler