[core:testing] add global_fail_timeout_thread nil check
[core:testing] add global_fail_timeout_thread nil check

Fixed an issue where test would always fail unless set_fail_timeout was called.
gingerBill/Odin,gingerBill/Odin,gingerBill/Odin,gingerBill/Odin