You mean, you want to use the switch to test traffic from one vlan to another. Do you mean outbound ACLs? Let's say vlan 10 going to vlan 20. There is an outbound ACL applied on the interface of vlan20. Right? And you are going to test it by using extend ping or something like that on the switch. Right?
First of all, you can test by using the following commands.
We are going to test tcp/80 on host 22.214.171.124 on vlan 20 by using a source address as a gateway of vlan 10.
SW#telnet 126.96.36.199 80 /source-interface vlan 10
The problem is that you want to check/block/petmet it with outbound ACLs on vlan20 (for example). Right?