Testing type of text in field