Refactored TextAreaHandlerTester to conform with recent changes