Can you target Training Dummy and share here result of "Target info" (in "dev... tools", you can found it tab tools). Same for Lazy Peon.
If you can also share your log and profile (or bugged quests xml code).
On UseScriptOn, you must use Lua code, and not Lua macro, but in any case, maybe they block RunMacroText.
Try to use the Lua code :
TargetUnit("Training Dummy")
or
RunMacroText("/target Training Dummy")
I found a sample for your second quest.
https://github.com/droidzfr/WRobot_Packages/blob/fccc740c611b6447361d401c2aa35bb401d6f638/Old paid files/enraged/001053_Horde[01-12]Vanilla(Durotar).xml#L2498