Restore Response.default_headers after test.
Merge pull request #15532 from zuhao/refactor_actionpack_response_test

Restore Response.default_headers after test.