using wtforms and testing all components