updated heap test