added try expression autotemplate

...ge; modified tests so that they work with new grammar;