Adding test for route prefix handling