Added a test to check clears text for thoroughness