Fix for issue #3945, and fix for PUT with request content
Repair broken test. Add new tests to prevent regression
Fix another bug in AbstractControllerTestCase - POST params ignored
Merge pull request #4366 from superdweebie/AbstractControllerTest-fix

Fix for issue #3945, and fix for PUT with request content
Merge branch 'hotfix/4366'

Close #4366
Fixes #3945