test6 about heaps added