tests for is_heap_until