edit code style, remove simple test for template