Add tests for null pointer opt.
libcore: Fix Items iterator for zero sized types.