created a test runner that can inject mocks with a static method call (not ideal)