This is not the right behavior. It should be

 assert.equal(System.normalize('d/e/f'), 'd/e/f');

Names that end up with a leading '.' after removeDotSegments needs to be resolved relative to the refererName. Everything else is passed through unchanged.