Callback function does not work

In reply to UVM_LOVE:

uvm_callback is an extension of uvm_object. But you are trying to use it as a component when extenting the callback to a test. The test has to be a component.