Declare and assign separately to avoid masking return values.
This commit ensures each node create its own profile data, so that they can be merged after tests to produce more accurate profile data. This commit also prints the coverage data of message.cpp after all profile data are merged.