Tested heap.h