dev-only: calculate hash if needed for console.log hint on how to add the hash
unit tests