fixes #1646 - enable cloning of templates

Could you make it ```def test``` to ```test "xxxx" do end```? Same for all tests in the file, sorry they weren't your fault :smile: