gms: comparator basic functionnality, tests pass.