tests: ComponentFactoryComment fix