added comparisons to test program