Add test for synchronize.
Merge remote-tracking branch 'origin/master'