Added support for running routers locally with workers to the testing script