fixed tests for *.template
fixed tests for *.template
Revert "fixed tests for *.template"

This reverts commit 2dc0ca055890b96e38df258dac9a8503f9acf5c9.