Update test template.
Added linux kernel like 'container_of' macro.