I usually handle this kind of stuff in the wrapper class that's created inside the _
unit_test.sv file (assuming it's created with
create_unit_test.pl using the -uvm switch). particularly if you need to satisfy any uvm connectivity, you can instantiate fifos/ports/whatever in the wrapper and connect everything in the connect_phase (similar to how it'd be done in a real env).
fwiw... before the wrapper, I did actually change a uvm class so that it was easier to unit test. I found some of the uvm conventions to be arbitrary and breaking them didn't matter except for people wondering why I'd consider doing such a thing :)
-neil