Test if sync works