test reset context