fixing Text unit tests