script converting to junit Test