Added support to test P2P sync.