itest as groovy script