make template visible and unit test it