Fix sync tests

* Replace string comparison with arithmetic logical comparators
* Use genMatchEvent() function to avoid code duplication
* Fix ACCURATE status by generating large number of matches

Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com>