fixed tests and pbs_provieded field access