added comparsion option - for extending to more than one group, or for expression tests.  UNTESTED.