China used signals sent from NASA’s Juno probe orbiting Jupiter to test the capabilities of ground stations vital to its deep space ambitions.