Moved the templates test to its proper location