Compilation error cause by testbench package

In reply to owenjarvie:

Can you tell us what is in the preceding included file, spb_agent.sv ? I feel that may hold some clues.