Hello humair.amil,
It is highly possible that static route is configured following the guidelines of 'VRF-leaking' statements.
Here a portion of the Cisco documentation:
The same applies if the VRF interface is a LAN interface (for example, Ethernet). The exact configuration command for that is:
ip route 10.0.2.0 255.255.255.252 Ethernet2/0 10.0.2.2
Note: The IP address configured after the interface name is only used by Address Resolution Protocol (ARP), to know what address to resolve.
- Route Leaking in MPLS/VPN Networks
Is Vlan20 assigned to a specific VRF? Try with 'show running-config interface vlan20'. I am suspecting Vlan20 is not on vrf TEST.
The static route in your L3 Switch should create an entry in the Routing Table vrf TEST for 10.10.10.0/24, it indicates the network is reachable via 20.20.20.20 & outbound interface Vlan20 (both on Global RIB or a different VRF).
I hope this helps.
Best Regards.