adapt test to comodl api change