Finally, find place where set the trap flag
Add test file to debug