fix all tests except those using set_url and get_url