Added simple test for generated templates