added getVersions and getComponentIds and basic tests