When import the uvm package in module, the task run_test(string testname="") will be visible as global task from the file uvm_globals.svh
UVM_ROOT:
This task is a Convenience function for uvm_top.run_test() , it calls uvm_root class run_test which creates the test class object and manages/spawns uvm phases.
UVM_ROOT:
The ~uvm_root~ class serves as the implicit top-level and phase controller for
automatically creates a single instance of <uvm_root> that users can