reverted to one function to test the frames
100% coverage for text_processing