L3 external gateway unit test