Added tests for CompactSpan