add test for Route class