template python tests