vtgate v3: add tests to cover new code paths