Connecting the Dots: Network Testing, Community Estimation, and Genomic Applications