updates to fix a minor testing error. I need to investigate the php db mocks