Testing Consistency of Two Histograms