testing with groovy templates