load template via a method
add test for getCompiledTemplate