Add a factory and an example test for generating DateTextBox elements.