Chapter 11: Added test to check different class equality.