Test for #34 and #44 - support form data encoding