Use generated route in test to ensure correctness