Test and XQDoc for the heap module.