Implement heap cycle alloc test.
Fix comments in class generator script.