Adding a second comparison test.

Modifiying comparison algorithm.