a few tests for heap