fix sync tests

This is a workaround. GenID used inside sync gets random from
system, and the time varies a lot.
It will be fixed when we move to good id generator.
i do not think so... what you want to do is to test your test code........ you will end up with a infinite loop. i want to break this loop...