Add Span unit tests