Learning and Testing Latent-Tree Ising Models Efficiently