For ENG-4999, revise unit test on heapdump file