fix tests for text