Fixed some bugs, and added tests. bugid:112416
Suppress warnings. bugid:112416
Fixed some bugs. bugid:112416
Fixed pingOthers field. bugid:112416
Fixed customDynamicTemplates field. bugid:112416