I had to add the same command to the acceptance tests -- when it was missing, the error took a while to track down.  Is there any logging in place for when the template isn't defined?

Also, I'm curious why we're storing the template in the database as opposed to on disk.  What advantages do we gain over simply loading a file from disk?