Fixes for Objective-C assertions.
Disable the assertion that is hit by smoketest.