Fix spec tests to be compatible with puppet 3.3
Fix spec tests to be compatible with puppet 3.3

One of our spec tests mocks an object from the puppet object model.
In the latest version of puppet this object had a small API change;
our mock object was not set up to handle this correctly. This
commit should make the tests compatible with all versions of Puppet
from 2.7.x, 3.0.x, 3.1.x, 3.2.x, and 3.3.x.

rbrw/puppetdb,waynr/puppetdb,highb/puppetdb,shrug/puppetdb,kbarber/puppetdb,puppetlabs/puppetdb,cprice404/puppetdb,kbarber/puppetdb,senior/puppetdb,johnduarte/puppetdb,waynr/puppetdb,shrug/puppetdb,johnduarte/puppetdb,grimradical/puppetdb,puppetlabs/puppetdb,puppetlabs/puppetdb,senior/puppetdb,ajroetker/puppetdb,mullr/puppetdb,rbrw/puppetdb,highb/puppetdb,grimradical/puppetdb,wkalt/puppetdb,jantman/puppetdb,johnduarte/puppetdb,senior/puppetdb,rbrw/puppetdb,rbrw/puppetdb,mullr/puppetdb,ajroetker/puppetdb,grimradical/puppetdb,wkalt/puppetdb,highb/puppetdb,wkalt/puppetdb,wkalt/puppetdb,kbrezina/puppetdb,rbrw/puppetdb,grimradical/puppetdb,mullr/puppetdb,kbrezina/puppetdb,kbarber/puppetdb,puppetlabs/puppetdb,johnduarte/puppetdb,puppetlabs/puppetdb,highb/puppetdb,waynr/puppetdb,waynr/puppetdb,shrug/puppetdb,senior/puppetdb,mullr/puppetdb,shrug/puppetdb,cprice404/puppetdb,jantman/puppetdb,kbarber/puppetdb,jantman/puppetdb,cprice404/puppetdb,ajroetker/puppetdb,mullr/puppetdb,ajroetker/puppetdb,kbrezina/puppetdb,kbrezina/puppetdb