Test html forms using context managers