Testing conditional template output