GateTest: help functions updated