If i understand correctly your filrewall filters are applied as output meaning it supposed to drop traffic leaving the subnet to wards the other subnet. how about you apply them in the input direction in vice-versa fashion i.e apply BLOCK-PROD-DCN-TRAFFIC to vlan.10 as input filter and also apply BLOCK-TEST-DCN-TRAFFIC to vlan.40 as input. see if this works. if this doesnt work try putting the RVIs on two seperate virtual routers and test again. Good luck.
Regads,
Lish.