Add support for Heap.
Add integration tests for Heap.
Merge pull request #2 from jiaweihli/add/heap

Add support and tests for heap integration.