add formenctype test
Merge pull request #1157 from patrickkettner/formenctype

add formenctype test