Added template parsing test