Fix success predicate in provider tests