Add CDI test env to core.