Merge "Refactor native heap viewer to add tests."