heaps and trees test added