Added test for SpanGenerator