Unify the integration tests, use groovy library.