Add tests for TextField event actions