Typo
SegmentDefinitionImpl now throws an IllegalArgumentException instead of a RuntimeException if a path could not be found.
Added a first test for SegmentDefinitionImpl.