update tests to use groovy