SourceMultiplePositions: speed improvement and add test