Refactors tests so failures can be simulated.
Refactors tests so failures can be simulated.

Not yet complete, tests fail on this commit.

klucar/pachyderm,ShengjieLuo/pachyderm,klucar/pachyderm,sambooo/pachyderm,kunthar/pachyderm,sambooo/pachyderm,alexdebrie/pachyderm,ShengjieLuo/pachyderm,klucar/pachyderm,alexdebrie/pachyderm,ShengjieLuo/pachyderm,kunthar/pachyderm,sambooo/pachyderm,alexdebrie/pachyderm