test($compile): check for memory leaks in nested transclusion