Merge "Optimize and enhance the code of "test_routers.py""