Extended hash code equals tester to include toString.