Equality operator for Task