Tests for first half of coincidence_queries