fixed tests for text objects