Adds tests for span highlight publication.