(PDB-3302) Refactor pdb test helpers a little
(PDB-3302) Refactor pdb test helpers a little

mullr/puppetdb,rbrw/puppetdb,rbrw/puppetdb,mullr/puppetdb,rbrw/puppetdb,rbrw/puppetdb,puppetlabs/puppetdb,puppetlabs/puppetdb,mullr/puppetdb,rbrw/puppetdb,mullr/puppetdb,puppetlabs/puppetdb,puppetlabs/puppetdb,mullr/puppetdb,puppetlabs/puppetdb