add sync tests