Test system refactoring

cmpEps replaced on cmpEps2 to reduce code dublication;
Constants for cmpEps return values added.