Add test coverage for ComponentFactory & component @Modified