Had to declare the string frequency in the test bench as a shared variable