Consolidated some text utils into the utils_tests test package.