A Likelihood Ratio Test of Speciation with Gene Flow