Complete SpanRelatedQueryTest