Well.  The template isn't strictly empty, it has content, but only conditioned on a condition that isn't presently true.
You're actually checking that a template that specifies an empty file does actually lead to the file being emptied.
... but I'm just heckling, don't mind me.