Also bring over tests from dist-git, and add test for formparser to test the backported changes. Resolves: rhbz#2188442