Critical fix in structure binary heap implementation; new test