updated template.rb specs