Add route tests and define named routes