Fix tests to use local proxy