Testing python routing algorithms