Updated Equality and If, Else, Ternary Operators so that all unit tests pass