add 'current' to get the name of the current template
add test