fix text tests