add tests for text. use htmltextinput instead of htmlinput as base class