Fixes IoC-related error in phasor unit tests.