modified assertFalse impl