refactoring assertFalse