Add route method to Test result

Also cherry-picked 01e614d3b1bb09e2f771916fdf3a46f44cf72026 from @zamboni