Update factories tests to test for injected plugin managers