template inheritance testing