testing PMI for breaking ties