Fixing build broken by this change

c43ca06ca091fc09e2c86bb051ac92b648f12b64
Merge pull request #10592 from arunagw/build-fix-flash-hash

Fixing build broken by this change
add tests for reset_calbacks
no reason to make these defaulted, we always pass values in
extract callback param munging
call extracted method from callback manipulation methods
extract getting an setting callbacks to methods
adding more callback type coverage
Update mail to minimum version 2.5.4