More tests for app/util/templates