Add sync block tests.
Add in_sync_block test.