Fixed failing specs on bheap module