debug tests