Fixed behavior of KillEvt in Task.cpp
Added test for KillEvt
Missing changes of VirtualTrace