Use Function and Test templates if found