Replacing wrong assertFalses with assertNotEquals