Edited Component constructor and test methods in ComponentManagerImpl