Add test on addroute and and template