test to check if sync with server works