added some changes for tests
added some changes for tests

The tests weren't passing because of certain
logging statements. I made the necessary changes
that pass the test suite
TylerLubeck/pyres,guaijiao/pyres,binarydud/pyres,Affectiva/pyres