Fix tests, adding template parameter to GetHeap()

Signed-off-by: Stefan Marr <git@stefan-marr.de>