Add unit tests for translatable segments
Add unit tests for translator aware tree route stack