Added test for the equality operator