Improve text test