Fix the failing pw provider unit spec.