Add test for #4996 regression.

Signed-off-by: Michael Gooden <michael@bluepointweb.com>
Add order of precedence tests.

Signed-off-by: Michael Gooden <michael@bluepointweb.com>
Merge pull request #5007 from MichaelGooden/hotfix/5007

[WIP] Fix #4996 regression.
[#5007] Corrections to tests

- On investigation, the test `testInputFilterOrderOfPrecedence2` didn't pass
  even on 2.2.2, and was thus invalid.
- Setting the `preferFormInputFilter` flag makes the other two tests pass,
  indicating that the change in 2.2.3 makes the flag have a semantic meaning,
  whereas it may not have previously (though that was the intent).
Merge branch 'hotfix/5007'

Close #5007
Close #5005