Fixed sync bug
Added data to tests
Merge pull request #76 from DyeH/master

Fixed sync bug