Check test result flag for comparison failure
Merge pull request #29 from cdmihai/testBug

Test bug