Added factory for ArtifactRepositoryIndex Removed usage of src/test/index createTestIndex (renamed from testIndex() which gave the wrong impression) will create the index needed