Avoid deprecated unittest API

failIf -> assertFalse
failUnless -> assertTrue
PEP-8