Adding tests
Added test for server side sync