Edited test methods in ComponentManagerImpl