Heap corruption checks introduced into certain canary tests