fix debug tests