Implement TextField test case.