fix urls in teardown
use port 5021 for the tests, hope nothing else is using it