Fix VTGate unit tests