test working for simple heap update
heap with dynamic conditional