Fixes 'sending' of spans for testing.