This slightly improves the JComponentHelper::getComponent unittests. It should be noted, that anonymous components don't have an "id" attribute, which could be problematic and that the "enabled" attribute has a boolean value when it is an anonymous component, while it is an integer when it is a known component. Also, JComponentHelper::isInstalled() might return true, even though the component is not installed. (It returns an integer and does not filter for components)