Fix text component doctest