Test for text with recursive atom type (#28013)