Adding groovy test cast