Replace the extracted-function Perl runner with BATS tests that invoke routeop in isolated Linux namespaces. Check route commands, persistent entries, matching routes, and replacement failures.