Debug why tests are failing