Lots of changes made in the equality comparers. Added extra
implementation details in equals method for the comparers to account for
null parameters. Also added some extra unit test cases in various unit
test batches.