Reset callbacks after test.

Otherwise the state of callback chain is leaked.
Merge pull request #15530 from zuhao/refactor_actionpack_reloader_test

Reset callbacks after test.