Updating assertEquals to assertTrue or assertFalse