Use printf for better log format. Add iVar access test.