fixed cdi test