test and sync