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.
the comment is wrong before. it checks sync function only, and doesn't run the loop of Server.
i think i miss some case then. i will add a TODO for it