Added tests for equality.
Added test for inequality.