Add unit tests for chain route
Add unit tests for chain route generation in tree route stack