Create BCM_SendPkt_Test.py

This function use the locals() skills(create the variable dynamicly) to optimize the code