Test coverage for string magic semantics.