testing setup and sync procedure