cdi alternatives test example