Editted TextTester for testing