fix display text tests