Add route test and e2e test.