Fix pmctl test check if heapdump file exists