test: Fix races in CLISuite.TestRoute

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>
Merge pull request #634 from flynn/test-route-races

test: Fix races in CLISuite.TestRoute