add as proper template tests

--HG--
branch : noink