add test for leak without Xcode warnings.