add test that proves skipping with before_sync hook