Appending to a template and Creating element for the token tests