ControllerTestCase was overwriting GET and POST and not restoring them at the end of testAction. Fixes #2841